package com.bw.service;

import com.bw.dao.OrderDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class OrderServiceImp implements OrderService{
    @Autowired
    OrderDao orderDao;
    @Override
    public List<Map> sumTotal(String nowDate) {
        return orderDao.sumTotal(nowDate);
    }

    @Override
    public List<Map> proTotal(String nowDate) {
        return orderDao.proTotal(nowDate);
    }

    @Override
    public List<Map> zbTotal(String nowDate) {
        return orderDao.zbTotal(nowDate);
    }
}
